package com.company.management.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("T_Report")
public class TReport {

    @TableId(value = "ReportId", type = IdType.AUTO)  // 映射数据库的主键列
    private Long reportId;  // 报告ID

    @TableField("UserId")
    private Long userId;
    @TableField("ReportType")
    private Integer reportType;  // 报告类型

    @TableField("ReportContext")
    private String reportContext;  // 报告内容

    @TableField("WorkPlan")
    private String workPlan;  // 工作计划

    @TableField("OtherNote")
    private String otherNote;  // 其他备注

    @TableField("AttachmentFileName")
    private String attachmentFileName;  // 附件文件上传原始名

    @TableField("AttachmentPath")
    private String attachmentPath;  // 附件文件

    @TableField("ReportTime")
    private String reportTime;  // 报告时间

    @TableField("ShareId")
    private Integer shareId;  // 分享ID

    @TableField("CreateDateTime")
    private LocalDateTime createDateTime;  // 创建时间

}
